package Io;

import java.io.*;

public class PrintStream_1 {
    public static void main(String[] args) {
        PrintStream ps=null;
        try {
            ps=new PrintStream(new FileOutputStream("node.TXT",true));
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
        System.setOut(ps);
        ps.println("子豪加油！！！");
    }
}
